﻿using Proto;
using Summer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameServer.Model
{
    public class Actor : Entity
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public Space Space { get; set; }

        public NCharacter Info { get; set; } = new NCharacter();
        /*
    int32 id = 1;
    int32 type_id = 2; //角色类型
    int32 entity_id = 3;
    string name = 4;
    int32 level = 5;
    int64 exp = 6;
    int32 spaceId = 7;
    int64 gold = 8;
    NEntity entity = 9;
         */

        public Actor(Vector3Int position, Vector3Int direction) : base(position, direction)
        {

        }
    }
}
